package com.wealth.payment.repository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.wealth.payment.entity.PaymentAccount;

import iaas.repository.BaseRepository;

/**
 * 
 * @author CHAN
 */
@Repository
public interface PaymentAccountDao extends BaseRepository<PaymentAccount, Long>, JpaSpecificationExecutor<PaymentAccount> {

	/**
	 * 查询当前企业下支付方式，1：支付宝，2：微信支付，3：其他（免费）
	 */
	PaymentAccount findByCorpIdAndPaymode(Long corpid,Integer paymode);
}


